Printing control apparatus, control method thereof, and storage medium

ABSTRACT

A printing control apparatus according to one aspect of this invention controls to print images on sheets based on image data of a plurality of pages, generate a bookbinding product by executing folding processing for the image-printed sheets, and output the bookbinding product. The printing control apparatus further accepts the position of an insertion sheet to be inserted into the sheets for which the folding processing is executed, and controls to output a plurality of bookbinding products by using, as a reference, the accepted position of the insertion sheet.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a printing control apparatus, controlmethod thereof, and storage medium.

2. Description of the Related Art

Some image processing apparatuses such as a printer and multifunctionperipheral have a bookbinding function for bundling a plurality ofsheets (printed materials) on which images corresponding to originaldata are printed, and folding them in half (folding them in the middle)to generate a bookbinding product. For example, Japanese PatentLaid-Open No. 2010-168134 discloses an apparatus which can executecenter folding bookbinding processing of bundling a plurality of printedmaterials and folding them in half to generate a bookbinding product,and saddle stitching processing of stapling along the fold of a bundleof printed materials folded in half to generate a bookbinding product.

Japanese Patent Laid-Open No. 2007-123991 discloses, as an imageprocessing apparatus having a bookbinding function, an image processingapparatus which divides a plurality of printed materials, on whichoriginal images are printed, into a plurality of bundles and executesbookbinding processing (division bookbinding) for each individualbundle. This image processing apparatus can designate breaks oforiginals such as chapters and sections at division portions whendividing a plurality of printed materials into a plurality of bundles.

The above-described image processing apparatus having the bookbinding(folding bookbinding) function based on folding processing of folding aplurality of sheets in the middle may cause the following problem when asheet other than sheets on which the body of the bookbinding product isprinted is inserted at an arbitrary portion in the bookbinding product.A case in which a sheet having a size (folding size) obtained by foldingin half a sheet forming a bookbinding product is inserted at anarbitrary portion in a bookbinding product generated by foldingbookbinding, and a case in which a sheet having the same size(double-page size) as that of a sheet forming a bookbinding product isinserted at an arbitrary portion in a bookbinding product generated byfolding bookbinding will be assumed. FIG. 11 exemplifies a case in whicha sheet (insertion sheet) other than three sheets is inserted into abookbinding product obtained by performing folding processing for thesethree sheets on which the original images of 12 pages of the body areprinted on the two surfaces.

First, a bookbinding product 1101 is obtained by inserting a sheet ofthe folding size between the fourth and fifth pages of the bodyseparately from three sheets corresponding to the body. To generate abookbinding product such as the bookbinding product 1101, for example,it is conceivable to execute folding processing for sheets of the bodyand then insert a sheet of the folding size between the fourth and fifthpages of the body. However, it is generally known that it is difficultin terms of the apparatus arrangement to generate the bookbindingproduct 1101 in this way.

When a sheet of the folding size is inserted between the fourth andfifth pages of the body before executing folding processing for sheetsof the body, a bookbinding product such as a bookbinding product 1102may be generated as a result of the folding processing. Morespecifically, when an inserted sheet of the folding size is not properlyaligned with body sheets of the double-page size, the inserted sheet maybe inserted not only between the fourth and fifth pages of the body butalso between the eighth and ninth pages of the body against the user'swill.

Also, when inserting a sheet of the double-page size at an arbitraryportion in a bookbinding product obtained by folding bookbinding,assuming that the entire surface of the sheet to be inserted is printed,the sheet is desirably inserted to be able to spread it. However, toenable spread of the sheet inserted into the bookbinding product, theinserted sheet needs to be positioned innermost (that is, as the centerpages of the bookbinding product to be generated) as a result ofsuperposing and folding a plurality of sheets. In other cases, noinserted sheet can be spread as represented by a bookbinding product1103. In the bookbinding product 1103, the inserted sheet is separatelyinserted between the fourth and fifth pages of the body and also betweenthe eighth and ninth pages. In this case, the user cannot confirm theprinted contents of the inserted sheet while spreading the insertedsheet.

SUMMARY OF THE INVENTION

The present invention has been made to solve the above problems. Thepresent invention provides a technique of, when an image processingapparatus performs bookbinding based on folding processing for aplurality of sheets, generating a bookbinding product in which anothersheet of a size obtained by folding the sheets in half or the same sizeas that of the sheets is appropriately inserted.

According to one aspect of the present invention, there is provided aprinting control apparatus which controls to print images on sheetsbased on image data of a plurality of pages, generate a bookbindingproduct by executing folding processing for the image-printed sheets,and output the bookbinding product, comprising: an acceptance unitconfigured to accept a position of an insertion sheet to be insertedinto the sheets for which the folding processing is executed; and acontrol unit configured to output a plurality of bookbinding products byusing, as a reference, the position of the insertion sheet that has beenaccepted by the acceptance unit.

According to another aspect of the present invention, there is provideda method of controlling a printing control apparatus which controls toprint images on sheets based on image data of a plurality of pages,generate a bookbinding product by executing folding processing for theimage-printed sheets, and output the bookbinding product, comprising:accepting a position of an insertion sheet to be inserted into thesheets for which the folding processing is executed; and controlling tooutput a plurality of bookbinding products by using, as a reference, theposition of the insertion sheet that has been accepted in the accepting.

The present invention can provide a technique of, when an imageprocessing apparatus performs bookbinding based on folding processingfor a plurality of sheets, generating a bookbinding product in whichanother sheet of a size obtained by folding the sheets in half or thesame size as that of the sheets is appropriately inserted.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments (with reference to theattached drawings).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the arrangement of a printing systemaccording to the first embodiment;

FIG. 2 is a view exemplifying setting screens regarding finishingsettings and paper feed settings according to the first embodiment;

FIG. 3 is a view exemplifying a setting screen regarding insertion sheetsettings according to the first embodiment;

FIG. 4A is a view exemplifying the contents of a print job which iscreated by a printer driver and includes settings using an insertionsheet of the folding size according to the first embodiment;

FIG. 4B is a view exemplifying the contents of a print job which iscreated by the printer driver and includes settings using an insertionsheet of the double-page size according to the first embodiment;

FIG. 5A is a flowchart showing a bookbinding processing sequence to beexecuted by an image processing apparatus 120 based on a print jobaccording to the first embodiment;

FIG. 5B is a flowchart showing a processing sequence to be executed instep S504 of FIG. 5A;

FIG. 6 is a view exemplifying drawing data generated by renderingprocessing according to the first embodiment;

FIG. 7A is a view exemplifying print setting data and image datagenerated by layout processing when an insertion sheet of the foldingsize format is used according to the first embodiment;

FIG. 7B is a view exemplifying a bookbinding product generated based onthe print setting data and image data in FIG. 7A;

FIG. 8 is a view exemplifying bookbinding products generated when theinsertion page M of an insertion sheet of the folding size format=0(first page) and 12 (final page) according to the first embodiment;

FIG. 9A is a view exemplifying print setting data and image datagenerated by layout processing when an insertion sheet of thedouble-page size format is used according to the first embodiment;

FIG. 9B is a view exemplifying a bookbinding product generated based onthe print setting data and image data in FIG. 9A;

FIG. 10 is a view exemplifying bookbinding products generated when theinsertion page M of an insertion sheet of the double-page size format=6(center page), 0 (first page), and 12 (final page) according to thefirst embodiment; and

FIG. 11 is a view exemplifying bookbinding products each obtained when asheet of the same or half size of sheets corresponding to the body isinserted into a bookbinding product based on folding bookbinding.

DESCRIPTION OF THE EMBODIMENTS

Hereinafter, embodiments of the present invention will be described indetail with reference to the accompanying drawings. It should be notedthat the following embodiments are not intended to limit the scope ofthe appended claims, and that not all the combinations of featuresdescribed in the embodiments are necessarily essential to the solvingmeans of the present invention.

First Embodiment

The first embodiment will now be described with reference to FIGS. 1 to10. This embodiment will explain a case in which, in a printing systemincluding an information processing apparatus and image processingapparatus, the image processing apparatus executes layout processing forimage data to undergo bookbinding printing based on a print job createdby a printer driver in the information processing apparatus.

<Arrangements of Printing System and Image Processing Apparatus>

The arrangement of the printing system and that of an image processingapparatus 120 in the printing system according to the embodiment will beexplained with reference to FIG. 1. The printing system shown in FIG. 1includes an information processing apparatus 100 and the imageprocessing apparatus 120. The information processing apparatus 100 andimage processing apparatus 120 are connected via a LAN 110 to be able tocommunicate with each other.

As shown in FIG. 1, the image processing apparatus 120 includes aplurality of modules which are connected to each other via a system bus130. A CPU 121 controls the overall image processing apparatus 120 andperforms image processing. The image processing apparatus 120 receives,from the information processing apparatus 100 via the LAN 110 and anetwork interface (I/F) 122, a print job created by using software suchas a printer driver in the information processing apparatus 100.

In the image processing apparatus 120, when the CPU 121 accepts(receives) a print job from the information processing apparatus 100 viathe network I/F 122, it saves the accepted print job in a reception areawithin the storage area of a storage 124. A job setting analysisprocessing unit 125 analyzes information about finishing settings madefor the received print job, and temporarily saves the analysis result assetting information of the print job in the storage 124. A PDL analysisprocessing unit 126 performs PDL analysis for the received print job,generating intermediate data. A rendering processing unit 127 performsdrawing (rendering) processing based on the intermediate data generatedby the PDL analysis processing unit 126, generating drawing data.

An image data processing unit 128 saves, in the storage 124, image datagenerated by performing layout processing for bookbinding printing (tobe referred to as “bookbinding layout processing” or simply as “layoutprocessing” hereinafter) for the generated drawing data. The CPU 121outputs the image data saved in the storage 124 to a printer engine 129.The printer engine 129 performs image print processing based on theimage data on a sheet (print sheet). If necessary, the printer engine129 executes folding processing to bundle a plurality of image-printedsheets and fold them in the middle by using a saddle (not shown),performing bookbinding printing for these sheets and generating abookbinding product. In this manner, the printer engine 129 implementsbookbinding printing based on input image data.

In the embodiment, the image processing apparatus 120 corresponds to animage processing apparatus which generates image data for bookbindingprinting of printing images corresponding to original data on aplurality of sheets of the double-page size (first size), bundling theprinted sheets, and folding them in the middle to generate a bookbindingproduct. In a bookbinding product generated using image data generatedby the image processing apparatus 120, each page has a folding size(second size) which is half the double-page size.

In the embodiment, original data corresponding to the original of eachpage before rendering processing by the rendering processing unit 127will be called “PDL data”, and original data corresponding to theoriginal of each page after rendering processing will be called “drawingdata”. Data to undergo print processing after layout processing by theimage data processing unit 128 will be called “image data”. Note thatdetails of rendering processing and layout processing by the renderingprocessing unit 127 and image data processing unit 128 will be explainedwith reference to a flowchart shown in FIGS. 5A and 5B.

<Settings Regarding Insertion of Sheet into Bookbinding Product>

Generation of a print job for inserting, at an arbitrary portion(position) in a bookbinding product obtained by folding bookbinding, asheet other than those corresponding to the body of the bookbindingproduct in the information processing apparatus 100 will be explainedwith reference to FIGS. 2 and 3. Generation of a print job in theinformation processing apparatus 100 uses the printer driver or thelike.

In this specification, a sheet to be inserted into a bookbinding productwill be called an “insertion sheet”. As the insertion sheet, theembodiment uses different types of sheets having a size (folding size)which is half the size of sheets when the sheets corresponding to thebody forming a bookbinding product obtained by folding bookbinding arefolded in half (in the middle), and having the same size (double-pagesize) of that of the sheets corresponding to the body. The double-pagesize corresponds to a paper size when the bookbinding product is spread.In the embodiment, the “double-page size” corresponds to the first size,and the “folding size” corresponds to the second size.

A setting screen 210 regarding finishing settings in FIG. 2 is, forexample, an operation screen displayed on the display (display device)of the information processing apparatus 100 by the printer driver in theinformation processing apparatus 100. The user can make settings via theoperation screen using an input device (for example, keyboard or mouse)arranged in the operation unit of the information processing apparatus100.

The printer driver in the information processing apparatus 100 acceptsfolding bookbinding settings via the setting screen 210 regardingfinishing settings. The printer driver accepts a selection instruction“single-sided printing”, “double-sided printing”, or “bookbindingprinting” as a printing method 211. When the printer driver accepts theselection instruction “bookbinding printing” as the printing method, itcan accept a selection instruction about a folding setting 212. As thefolding setting 212, the printer driver accepts a selection instruction“not set” or “fold”. When the printer driver accepts the setting“bookbinding printing” as the printing method 211 and the setting “fold”as the folding setting 212, it generates a folding bookbinding job as aprint job.

The printer driver accepts, in a bookbinding printing processing methoditem 213, a selection instruction representing which of the imageprocessing apparatus 120 and printer driver (information processingapparatus 100) is to execute layout processing. The first embodimentwill explain a case in which the image processing apparatus 120 executeslayout processing. Note that the second embodiment will explain a casein which the printer driver (information processing apparatus 100)executes layout processing. The layout processing is also called“imposition processing”, and corresponds to processing of laying out(imposing) a plurality of pages to be included in a bookbinding productas a result of bookbinding by performing folding processing for sheetsby folding bookbinding or the like so that sheets corresponding to theoriginals of respective pages are bound in a correct order.

As the bookbinding method, the setting screen 210 may further enablesetting of whether to perform binding processing of saddle-stitchingsheets and then performing folding processing for the sheets to bindthem, and selection of left-opening bookbinding or right-openingbookbinding. The embodiment will describe a case in which bookbindingprocessing is performed by left-opening bookbinding.

Then, the printer driver in the information processing apparatus 100accepts settings about the use of an insertion sheet via a settingscreen 220 regarding paper feed settings. The printer driver accepts, inan item 221, which of the paper type and paper feed unit is used todesignate paper feed methods for sheets of the body and an insertionsheet. The printer driver accepts, in an item 222, designation ofwhether to use an insertion sheet. When the use of an insertion sheet isdesignated, the printer driver can accept selection instructions about apaper setting 223 of the body and a paper setting 224 of the insertionsheet. As the paper setting 223 of the body, the printer driver canaccept a selection instruction “paper feed tray designation” or “papertype designation” (not shown). When the insertion sheet setting item 224is selected, the printer driver displays, on the display of theinformation processing apparatus 100, a setting screen 300 (FIG. 3) formaking detailed settings of an insertion sheet, and accepts furthersettings.

On the insertion sheet setting screen 300, the printer driver acceptsdesignation instructions about an insertion format 301, an insertionpage 302, and a paper feed unit 303 serving as the paper feed source ofan insertion sheet, and reflects setting contents based on thedesignations in a display field 305. As the insertion format 301, acombination of the use of an insertion sheet of the folding size or aninsertion sheet of the double-page size, and printing/non-printing on aninsertion sheet can be selected. More specifically, the printer drivercan accept a selection instruction about the insertion format 301 fromthe following six combinations: “folding size and non-printing”,“folding size and printing on the obverse surface”, “folding size andprinting on the reverse surface”, “folding size and printing on the twosurfaces”, “double-page size and non-printing”, and “double-page sizeand printing”.

The printer driver can accept, as the insertion page 302, a numericalvalue indicating a position where an insertion sheet is to be insertedin a bookbinding product. The insertion page is a numerical valuerepresenting that an insertion sheet is to be inserted between this pageand the next page. In the embodiment, when the printer driver hasaccepted a setting of executing folding bookbinding on the settingscreen 210, it inhibits input of a fraction as an insertion page on thesetting screen 300.

The fraction of an insertion page in folding bookbinding will beexplained. In layout processing for folding bookbinding, original dataof the originals of a plurality of pages are assigned to one sheet. Ingeneral, when one sheet undergoes folding processing and is folded inhalf, images based on original data of two pages are printed on each ofthe obverse and reverse surfaces of the sheet, and original data of theoriginals of four pages are assigned to one sheet. In the embodiment,the image processing apparatus 120 lays out original data of two pagesfor each image data corresponding to the obverse or reverse surface of asheet of the double-page size to be printed. As a result, the imageprocessing apparatus 120 assigns original data of every four pages toeach sheet to be printed, and generates image data for bookbindingprinting. Further, the image processing apparatus 120 performs printprocessing for each sheet based on the generated image data, bundlesobtained printed materials, and folds them in the middle, generating abookbinding product.

In the embodiment, as will be described later, the image processingapparatus 120 performs division processing in every four pages fordrawing data of a plurality of pages after rendering processing byusing, as a reference, an insertion position where an insertion sheet isto be inserted in a bookbinding product to be finally generated. Forthis reason, the image processing apparatus 120 accepts only a print jobwhich designates, as the insertion position of an insertion sheet, aposition where pages corresponding to original data of every four pagesare included before the insertion position in a bookbinding product tobe generated. If pages corresponding to original data of every fourpages do not exist before a designated insertion position (insertionpage), the designated insertion page becomes a fraction.

When designation of a fraction as an insertion page is permitted, if aninsertion sheet of the folding size is designated, a blank page isrequired before the insertion page unless a multiple of 4, the firstpage (M=0), or the final page is designated as an insertion page M. Ifan insertion sheet of the double-page size is designated, blank pagesneed to be added before the insertion page unless double the designatedinsertion page M (=2M) is not a multiple of 4.

In the embodiment, when the printer driver in the information processingapparatus 100 accepts input of a fraction of an insertion page, itdisplays a screen on the display to notify the user of a message to thiseffect, and prompts him not to input the fraction.

On the setting screen 300, the printer driver accepts designation of apaper feed tray arranged in the image processing apparatus 120 as thepaper feed unit 303 for feeding an insertion sheet. The designation ofthe paper feed tray depends on the apparatus arrangement of the imageprocessing apparatus 120. For example, cassette 1, cassette 2, inserter,and manual feed are selectable. Note that the printer driver can acquireinformation about the apparatus arrangement of the image processingapparatus 120 and the like via the LAN 110. This information alsoincludes information representing the arrangement of paper feed trays inthe image processing apparatus 120.

Upon accepting pressing of an add button 304, the printer driverdisplays (reflects) contents designated as the insertion format 301,insertion page 302, and paper feed unit 303 in the display field 305.

The printer driver accepts settings regarding folding bookbinding and aninsertion sheet in this manner. If the printer driver accepts a jobexecution instruction, it generates a print job based on the settingcontents. Further, the printer driver transmits the generated print jobto the image processing apparatus 120 via the LAN 110.

<Example of Structure of Print Job>

The structure of a print job which is created by the printer driver inthe information processing apparatus 100 to generate a bookbindingproduct by folding bookbinding will be exemplified with reference toFIGS. 4A and 4B. FIG. 4A exemplifies the structure of a print job 400including settings using an insertion sheet of the folding size. FIG. 4Bexemplifies the structure of a print job 410 including settings using aninsertion sheet of the double-page size. The print jobs 400 and 410 areroughly formed from two portions: job attribute portions 401 and 411,and PDL data portions 402 and 412.

Each of the job attribute portions 401 and 411 includes settings (jobattribute values) necessary for print settings, and mainly includes thejob attribute values of items (for example, printing method, finishingsettings, and paper settings) set using the setting screens 210, 220,and 300 shown in FIGS. 2 and 3. As setting examples of the job attributevalues of respective items included in the job attribute portions 401and 411, those pertaining to the embodiment will be listed below. Notethat the job attribute portions 401 and 411 can include settings otherthan the following ones.

[Printing Method]

-   -   printing method: folding bookbinding, double-sided printing,        single-sided printing, or the like

[Original Settings]

-   -   original page count: numerical value indicating the number of        original pages    -   original size: paper size such as A4, A3, LTR, or LGL

(The size of drawing data can also be designated and may be included inthe PDL data portion)

[Insertion Sheet Settings]

-   -   insertion format: folding size format or double-page size format

(When the folding size format or double-page size format is set, aninsertion sheet is used)

-   -   printing/non-printing: non-printing, single-sided printing        (obverse surface or reverse surface), or double-sided printing    -   insertion page: numerical value indicating the insertion        position of an insertion sheet

(For example, for 4, an insertion sheet is inserted between the fourthand fifth pages)

[Body Settings]

-   -   paper size of body: A4, A3, LTR, LGL, or the like    -   paper type of body: plain paper, thick paper, thin paper, coated        paper, special paper, or the like    -   paper feed tray setting of body: cassette 1, cassette 2, manual        feed, or the like

[Others]

-   -   for example, the number of original pages assigned to one sheet        (4 in the embodiment)

PDL data included in the PDL data portions 402 and 412 are describedbased on the PDL language specifications, and include data representingdrawing contents for each page. Note that the PDL data portions 402 and412 include descriptions such as finishing settings complying with thePDL language specifications.

The print job 400 is a job which assigns the A4-size originals of 12pages to the body of a bookbinding product, and executes foldingbookbinding processing using A3-size plain paper. The print job 400 isset to insert colored paper of the folding size (A4 size) between thefourth and fifth pages of the body without printing. In contrast, theprint job 410 is a job which assigns the A4-size originals of 12 pagesto the body of a bookbinding product, executes folding bookbindingprocessing using A3-size plain paper, and inserts coated paper of thedouble-page size (A3 size) between the eighth and ninth pages of thebody upon printing.

In the print job 410, the PDL data portion 412 stores PDL datacorresponding to an A3-size insertion sheet next to PDL datacorresponding to an A4-size original assigned to the eighth page. In theprint job 410, a size (double-page size) corresponding to PDL datarepresenting the drawing contents of an insertion sheet differs from apaper size (folding size) corresponding to PDL data representing thedrawing contents of each page of the body. In the embodiment, asrepresented by the print job 410, the PDL data portions 402 and 412 candescribe PDL data corresponding to the drawing contents of pages ofdifferent sizes to coexist without requiring special processing.

In this fashion, each of the print jobs 400 and 410 includes originaldata (PDL data) of a plurality of pages corresponding to the body of abookbinding product, and setting data which designate the size(insertion format) and an insertion position (insertion page) of aninsertion sheet to be inserted into the bookbinding product.

<Bookbinding Processing in Image Processing Apparatus>

Bookbinding processing to be executed based on a print job in the imageprocessing apparatus 120 according to the embodiment will be explainedwith reference to FIGS. 5A and 5B. Note that the operations of therespective steps of flowcharts shown in FIGS. 5A and 5B are implementedby the image processing apparatus 120 by reading out a control programfrom the storage 124, loading it in a RAM (not shown), and executing itby the CPU 121.

First, in step S501, the image processing apparatus 120 receives, fromthe information processing apparatus 100, a print job for bookbindingprinting including PDL data of a plurality of pages and setting dataregarding an insertion sheet. Accordingly, the image processingapparatus 120 accepts the print job for bookbinding printing.

In step S502, the image processing apparatus 120 interprets jobattribute values included in the received print job, and saves theinterpretation result as “job setting data” in the storage 124. Datacorresponding to the job attribute values shown in FIGS. 4A and 4B aresaved as job setting data in the storage 124. The job setting dataincludes setting data regarding original data such as an original pagecount L, and setting data regarding an insertion sheet such as aninsertion format J, insertion page M, and printing/non-printing N on aninsertion sheet.

The job setting data further includes a count K of original pages to beassigned to (laid out on) one sheet forming a bookbinding product. Inthe embodiment, to assign the originals of two pages to each of theobverse and reverse surfaces of one sheet, the original page count persheet K=4. When a printing method set for the print job is foldingbookbinding, an original page count L′ for layout processing is added tothe job setting data. A value obtained by adjusting L to become amultiple of K is set as L′. That is, for folding bookbinding, to printevery K pages on one sheet, image data of pages corresponding to amultiple of K need to be prepared. For example, when the original pagecount L=10 is set as a job attribute value in the print job, L′=12 isset by adding two blank pages.

In step S503, the image processing apparatus 120 interprets PDL dataincluded in the received print job, and executes rendering processingbased on intermediate data obtained by the interpretation, generatingdrawing data. In the embodiment, all the PDL data, intermediate data,and drawing data correspond to original data.

In step S504, the image processing apparatus 120 executes layoutprocessing by the image data processing unit 128 based on the drawingdata obtained by rendering processing. In particular, the imageprocessing apparatus 120 executes different layout processes dependingon the insertion format J and insertion page M included in the jobsetting data saved in the storage 124. In the embodiment, as theinsertion format J, J=0 corresponds to the folding size format, and J=1corresponds to the double-page size format.

Details of the layout processing in step S504 will be explained withreference to FIG. 5B. First, in step S511, the image processingapparatus 120 refers to the insertion format J included in the jobsetting data, and determines which of the folding size format (J=0) anddouble-page size format (J=1) is set as the insertion format of aninsertion sheet to a bookbinding product. If the image processingapparatus 120 determines that the insertion format is the folding sizeformat (J=0), it advances the process to step S512; if it determinesthat the insertion format is the double-page size format (J=1), to stepS515.

(Case in which Insertion Format is Folding Size Format (J=0))

In step S512, the image processing apparatus 120 determines which of amultiple of the original page count K per sheet (M/K=integer), M=0(first page), or L (final page) is the insertion page M included in thejob setting data. If the image processing apparatus 120 determines thatthe insertion page M is a multiple of K, it advances the process to stepS513. If the image processing apparatus 120 determines in step S512 thatthe insertion page M is M=0 (first page) or L (final page), it advancesthe process to step S514.

In step S512, the image processing apparatus 120 decides whether toperform layout processing based on division bookbinding in step S513.More specifically, when the insertion position (insertion page) of aninsertion sheet that is designated by the print job is a position beforethe first page of the body or after the final page of the body in abookbinding product to be generated, the image processing apparatus 120decides not to perform division bookbinding, and advances the process tostep S514.

In step S513, the image processing apparatus 120 performs layoutprocessing based on division bookbinding for drawing data of a pluralityof pages corresponding to the body of a bookbinding product to begenerated, thereby generating image data having undergone the layoutprocessing.

In step S513, first, the image processing apparatus 120 divides drawingdata of a plurality of pages corresponding to the body of a bookbindingproduct to be generated into the first and second drawing data groups(first and second original data groups). When the insertion sheet hasthe folding size format, the image processing apparatus 120 dividesdrawing data of a plurality of pages corresponding to the body of thebookbinding product into the first and second drawing data groups byusing, as the boundary, the insertion position of an insertion sheetthat is designated in the accepted print job. The first and seconddrawing data groups correspond to the first and second original datagroups which include successive original data and are used to generatethe first and second bookbinding products by dividing a bookbindingproduct to be generated.

In the embodiment, the position between the Mth and (M+1)th pages of thebody is designated as the insertion position based on the insertionpage. Thus, the image processing apparatus 120 divides drawing data ofL′ pages of the body into the first drawing data group including drawingdata of the first to Mth pages and the second drawing data groupincluding drawing data of the (M+1)th to L′th pages so that an insertionsheet is inserted between the Mth and (M+1)th pages of the body in thebookbinding product.

Then, in step S513, the image processing apparatus 120 performs layoutprocessing to lay out drawing data included in the first and seconddrawing data groups to a plurality of image data aligned in the printingorder when sequentially generating the first and second bookbindingproducts. More specifically, the image processing apparatus 120 lays outdrawing data included in the first drawing data group to one or moreimage data corresponding to the first drawing data group. Also, theimage processing apparatus 120 lays out drawing data included in thesecond drawing data group to one or more image data corresponding to thesecond drawing data group. Accordingly, a plurality of image data havingundergone the layout processing are generated. After that, the imageprocessing apparatus 120 advances the process to step S518.

In step S514, the image processing apparatus 120 does not perform layoutprocessing based on division bookbinding, unlike step S513. In stepS514, the image processing apparatus 120 performs layout processing tolay out drawing data (drawing data of the first to L′th pages) of aplurality of undivided pages to a plurality of image data aligned in theprinting order when generating a bookbinding product. Then, the imageprocessing apparatus 120 advances the process to step S518.

(Case in which Insertion Format is Double-Page Size Format (J=1))

In step S515, the image processing apparatus 120 determines whetherdouble (2M) the insertion page M included in the job setting data is amultiple of K (2M/K=integer), or the insertion page M is M=0 (firstpage), L′/2 (center page of the body of the bookbinding product), or L(final page). If the image processing apparatus 120 determines that 2Mis a multiple of K, it advances the process to step S516. If the imageprocessing apparatus 120 determines in step S515 that the insertion pageM is M=0 (first page), L′/2 (center page of the body of the bookbindingproduct), or L (final page), it advances the process to step S517.

In step S515, the image processing apparatus 120 decides whether toperform layout processing based on division bookbinding in step S516.Similar to step S512, when the insertion position (insertion page) of aninsertion sheet that is designated by the print job is a position beforethe first page of the body or after the final page of the body in abookbinding product to be generated, the image processing apparatus 120decides not to perform division bookbinding, and advances the process tostep S517. Also, when the insertion position of an insertion sheet is aposition where the insertion sheet can be spread at the center of thebody of a bookbinding product to be generated when the insertion sheetis inserted (M=L′/2), the image processing apparatus 120 decides not toperform division bookbinding, and advances the process to step S517.

In step S516, the image processing apparatus 120 performs layoutprocessing based on division bookbinding for drawing data of a pluralityof pages corresponding to the body of a bookbinding product to begenerated, thereby generating image data having undergone the layoutprocessing.

In step S516, first, the image processing apparatus 120 divides drawingdata of a plurality of pages corresponding to the body of a bookbindingproduct into the first and second drawing data groups (first and secondoriginal data groups). When the insertion sheet has the double-page sizeformat, the image processing apparatus 120 executes the divisionprocessing by using, as the boundary, a position determined so that theinsertion sheet can be spread in either of the first and secondbookbinding products to be generated in correspondence with the firstand second drawing data groups after division.

In the embodiment, the image processing apparatus 120 sets a boundarypage (division position) D=2M % L′, and divides drawing data of L′ pagesof the body at the boundary between the Dth and (D+1)th pages in drawingdata of a plurality of pages of the body so that it is set to insert aninsertion sheet between the Dth and (D+1)th pages of the body in thebookbinding product. In this case, “%” is a remainder operator, and (2M% L′) represents a remainder obtained when M is doubled and 2M isdivided by the total page count L′ of the body of the bookbindingproduct.

Then, in step S516, similar to step S513, the image processing apparatus120 performs layout processing to lay out drawing data included in thefirst and second drawing data groups to a plurality of image dataaligned in the printing order when sequentially generating the first andsecond bookbinding products. As a result, a plurality of image datahaving undergone the layout processing are generated. After that, theimage processing apparatus 120 advances the process to step S518.

In the embodiment, when the insertion format is the double-page sizeformat (J=1), drawing data of a plurality of pages of the body aredivided not after the Mth page as in the folding size format (J=0), butafter the Dth (=2M % L′) page, and then layout processing is performed.More specifically, the image processing apparatus 120 divides drawingdata of L′ pages of the body into drawing data of the first to Dth pagesand drawing data of the (D+1)th to L′th pages, and performs layoutprocessing (based on division bookbinding) for the respective drawingdata groups after division. Even when 2M>L′, the boundary page D of lessthan L′ pages is obtained by the remainder operation based on L′.

In step S517, similar to step S514, the image processing apparatus 120performs layout processing for drawing data of the first to L′thundivided pages of the body. The image processing apparatus 120 thenadvances the process to step S518. Note that the layout processing insteps S513, S514, S516, and S517 in the embodiment corresponds toprocessing by the first layout unit. In the embodiment, the layoutprocessing is implemented by laying out two original data included inthe same drawing data group to each image data corresponding to theobverse or reverse surface of a sheet of the double-page size to beprinted, which will be described later.

After that, the image processing apparatus 120 performs layoutprocessing complying with designation of the insertion position(insertion page) for a plurality of image data having undergone thelayout processing in step S513, S514, S516, or S517, and image datacorresponding to the insertion sheet. More specifically, in step S518,the image processing apparatus 120 performs layout processing for theinsertion sheet in accordance with the printing/non-printing N on theinsertion sheet and the insertion position (insertion page) that areincluded in the job setting data. By this processing, the imageprocessing apparatus 120 generates a plurality of image data aligned inthe printing order for bookbinding printing. Note that the layoutprocessing in step S518 in the embodiment corresponds to processing bythe second layout unit.

In step S518, first, the image processing apparatus 120 generates imagedata corresponding to the insertion sheet based on theprinting/non-printing N. When the insertion sheet has the folding sizeformat, the image processing apparatus 120 lays out the image datacorresponding to the insertion sheet at the boundary position betweenthe image data corresponding to the first drawing data group and thatcorresponding to the second drawing data group in the plurality of imagedata aligned in the printing order. To the contrary, when the insertionsheet has the double-page size format, the image processing apparatus120 executes the following control. The image processing apparatus 120lays out the image data corresponding to the insertion sheet at aposition corresponding to the designated insertion position in the imagedata corresponding to the first drawing data group or in the image datacorresponding to the second drawing data group in the plurality of imagedata aligned in the printing order.

Upon completion of the layout processing in step S518, the imageprocessing apparatus 120 saves the image data having undergone thelayout processing in the storage 124 in step S519. The image processingapparatus 120 then advances the process to step S505.

In step S505, the image processing apparatus 120 generates print settingdata corresponding to the image data having undergone the layoutprocessing based on the job setting data and the image data havingundergone the layout processing that have been saved in the storage 124.The image processing apparatus 120 saves the generated data in thestorage 124. The print setting data generated in step S505 includes, forexample, the following settings (which will be described later withreference to FIGS. 7A and 9A):

-   -   printing method: single-sided printing or double-sided printing    -   paper size/paper feed tray information/paper type information    -   folding setting: start flag, continuation flag, end flag, or        none

Finally, in step S506, the image processing apparatus 120 outputs aplurality of image data having undergone the layout processing to theprinter engine 129, and causes the printer engine 129 to execute printprocessing in accordance with the print setting data generated in stepS505. By performing bookbinding printing based on the plurality of imagedata having undergone the layout processing, the image processingapparatus 120 generates a final bookbinding product including the firstand second bookbinding products in which the insertion sheet is insertedat the designated insertion position.

In step S506, the image processing apparatus 120 generates a finalbookbinding product as follows depending on which of the folding sizeformat and double-page size format is set for the insertion sheet. Whenthe insertion sheet has the folding size format, the image processingapparatus 120 executes the following control. The image processingapparatus 120 sequentially generates the first bookbinding product basedon image data corresponding to the first drawing data group, a printedmaterial based on image data corresponding to the insertion sheet, andthe second bookbinding product based on image data corresponding to thesecond drawing data group. The generated first bookbinding product, theprinted material corresponding to the insertion sheet, and the secondbookbinding product form a final bookbinding product.

When the insertion sheet has the double-page size format, the imageprocessing apparatus 120 executes the following control. The imageprocessing apparatus 120 sequentially generates the insertionsheet-inserted first bookbinding product based on image datacorresponding to the first drawing data group and image datacorresponding to the insertion sheet, and the second bookbinding productbased on image data corresponding to the second original data group.Alternatively, the image processing apparatus 120 sequentially generatesthe first bookbinding product based on image data corresponding to thefirst original data group, and the insertion sheet-inserted secondbookbinding product based on image data corresponding to the secondoriginal data group and image data corresponding to the insertion sheet.The generated first and second bookbinding products form a finalbookbinding product.

In this way, regardless of which of the folding size and double-pagesize is designated for an insertion sheet, the image processingapparatus 120 can properly insert the insertion sheet into a bookbindingproduct to be finally generated. More specifically, when an insertionsheet of the folding size format is used, insertion of the insertionsheet into an arbitrary portion in a bookbinding product, implementationof which has been difficult, can be implemented based on divisionbookbinding. When an insertion sheet of the double-page size format isused, insertion of the insertion sheet into an arbitrary portion in abookbinding product to be generated to enable spread of the insertionsheet can be implemented based on division bookbinding.

<Use Example 1 of Insertion Sheet of Folding Size Format>

A plurality of examples when the image processing apparatus 120 executesthe processes according to the flowcharts of FIGS. 5A and 5B will beexplained. First, an example in which the image processing apparatus 120performs bookbinding processing using an insertion sheet of the foldingsize format (J=0) based on the print job 400 will be described. FIG. 7Ashows print setting data 711 to 717 and image data 721 to 727corresponding to the print job 400 (FIG. 4A). FIG. 7B exemplifies abookbinding product obtained as a result of performing print processingfor the image data 721 to 727 in accordance with the print setting data711 to 717 shown in FIG. 7A.

The image processing apparatus 120 receives the print job 400 from theinformation processing apparatus 100 (step S501), interprets attributevalues included in the job attribute portion 401, and saves them as jobsetting data in the storage 124 (step S502). The job setting dataincludes the printing method=folding bookbinding, the insertion formatJ=0 (folding size format), and the original size=A3. Also, the jobsetting data includes settings such as the original page count L=12, theinsertion page M=4, the printing/non-printing N on an insertion sheet=0,the paper settings of an insertion sheet=manual feed/colored paper, andthe paper settings of the body=A3/cassette 1/plain paper 1. Since theoriginal page count L=12, L need not be adjusted to a multiple of K=4,and the original page count L′ for layout=12 (=L).

The image processing apparatus 120 interprets PDL data included in theprint job 400, and performs rendering processing, generating drawingdata (step S503). In the embodiment, the printer driver in theinformation processing apparatus 100 has not performed layout processingfor the PDL data included in the print job 400. Since non-printing isset (N=0) for the insertion sheet, the print job 400 does not includePDL data corresponding to the insertion sheet. Hence, when the imageprocessing apparatus 120 performs rendering processing for this PDLdata, drawing data of 12 pages corresponding to the originals of thefirst to 12th pages are generated, as represented by 610 in FIG. 6.

Thereafter, the image processing apparatus 120 performs layoutprocessing for the drawing data generated by the rendering processing(step S504). In the job setting data saved in the storage 124, theinsertion format J=0 (folding size format), and the insertion page M=4.Thus, the image processing apparatus 120 advances the process to stepS513. In step S513, the image processing apparatus 120 divides thedrawing data of 12 pages (610 in FIG. 6) into drawing data of the firstto fourth (=M) pages and drawing data of the fifth (=M+1) to 12th (=L′)pages, and performs layout processing for the respective drawing datagroups after the division. As a result, image data having undergone thelayout processing are generated. Since non-printing is set for theinsertion sheet (N=0), the image processing apparatus 120 executeslayout processing using image data of a blank sheet of the folding sizeas image data of the insertion sheet (step S518).

In FIG. 7A, 720 conceptually represents all the image data 721 to 727which have been generated by the layout processing and saved in thestorage 124. FIG. 7A shows a state in which the image data 721 to 727are saved in the storage 124 while they are laid out in the printingorder, as indicated by an arrow. The image processing apparatus 120performs division bookbinding based on the image data 721 and 722, andthe image data 724 to 727, respectively, generating individualbookbinding products (first and second bookbinding products). The imagedata 723 is image data corresponding to an insertion sheet to beinserted between the two bookbinding products to be generated.

In FIG. 7A, 710 represents the print setting data 711 to 717corresponding to the image data 721 to 727, respectively. As representedby 710 in FIG. 7A, the image processing apparatus 120 generates theprint setting data 711 to 717 to make settings included in the jobsetting data correspond in the printing order to the respective imagedata 721 to 727 generated by the layout processing (step S505). Thesettings of items (“printing method”, “folding setting”, “paper size”,“paper feed tray information”, and “paper type”) included in the printsetting data 711 to 717 will be explained.

As a printing method for corresponding image data, single-sided printingor double-sided printing, and obverse surface printing or reversesurface printing are set as the “printing method”. More specifically,“double-sided/reverse surface” and “double-sided/obverse surface” areset as the “printing method” respectively in the print setting data 711and 712 corresponding to the image data 721 and 722 of the firstbookbinding product. Also, in the print setting data 714 to 717corresponding to the image data 724 to 727 of the second bookbindingproduct, “double-sided/reverse surface” and “double-sided/obversesurface” are set as the “printing method” alternately in the printingorder. For the image data 723 of an insertion sheet, “non-printing” isset as an insertion sheet setting in the job setting data, so“single-sided/obverse surface” is formally set as the “printing method”in the corresponding print setting data 713.

The paper settings (A3/cassette 1/plain paper) of the body in the jobsetting data are set as the “paper size”, “paper feed tray information”,and “paper type” of the print setting data 711, 712, and 714 to 717corresponding to the first and second bookbinding products. In contrast,the paper settings (manual feed/colored paper) of an insertion sheet areset as the “paper feed tray information” and “paper type” of the printsetting data 713 corresponding to the insertion sheet, and “A4” is setas the “paper size”. The A4 size corresponds to the folding size, and isset to be half the size of the paper size (A3 size here) of the body.

One of the “start flag”, “continuation flag”, “end flag”, and “none” isset as the “folding setting” in each of the print setting data 711 to717. The image processing apparatus 120 executes folding processing fora bundle of printed materials obtained based on image data from imagedata for which the “start flag” of folding processing is set, to one forwhich the “end flag” is set. Note that the “continuation flag” is a flagwhich is set for image data between image data for which the “startflag” is set and image data for which the “end flag” is set. The“continuation flag” represents that image data is subjected to foldingprocessing. Whether to perform folding processing for image data otherthan one for which the “start flag” or “end flag” is set can bedetermined based on the presence/absence of the “continuation flag”setting.

In accordance with the settings of the above-described items, the imageprocessing apparatus 120 performs print processing for a plurality ofsheets (step S506). More specifically, first, the image processingapparatus 120 executes double-sided printing based on the image data 721and 722 on one A3-size plain sheet in accordance with the print settingdata 711 and 712, generating a (single) printed material forming thefirst bookbinding product. Further, the image processing apparatus 120executes folding processing (saddle stitching) for the single printedmaterial as a bundle in accordance with the “folding setting”,generating the first bookbinding product.

Then, the image processing apparatus 120 executes single-sided printingbased on the image data 723 on one A4-size colored sheet in accordancewith the print setting data 713, generating a printed materialcorresponding to an insertion sheet. In this example, however,“non-printing” is set as an insertion sheet setting, so no printing isactually done on the insertion sheet. Also, since the “folding setting”is set to “none”, no folding processing is performed for the insertionsheet.

Thereafter, the image processing apparatus 120 executes double-sidedprinting based on the image data 724 to 727 on two A3-size plain sheetsin accordance with the print setting data 714 to 717, generating (two)printed materials forming the second bookbinding product. Further, theimage processing apparatus 120 executes folding processing (saddlestitching) for a bundle of the two printed materials in accordance withthe “folding setting”, generating the second bookbinding product.

As a result of performing print processing for the image data 721 to 727in accordance with the print setting data 711 to 717 shown in FIG. 7A,as described above, the image processing apparatus 120 generates andoutputs a bookbinding product shown in FIG. 7B. The bookbinding productshown in FIG. 7B includes a first bookbinding product 731 formed fromprinted materials corresponding to the originals of the first to fourthpages, an insertion sheet 732 between printed materials corresponding tothe originals of the fourth and fifth pages, and a second bookbindingproduct 733 formed from printed materials corresponding to the originalsof the fifth to 12th pages. The image processing apparatus 120 outputsthe first bookbinding product 731, insertion sheet 732, and secondbookbinding product 733 sequentially to overlap each other, generating afinal bookbinding product. In this manner, the image processingapparatus 120 can generate a bookbinding product in which the insertionsheet is inserted between the final page (fourth page of the body) ofthe first bookbinding product and the first page (fifth page of thebody) of the second bookbinding product. That is, the image processingapparatus 120 can generate a bookbinding product in which the insertionsheet is inserted at the designated position.

<Use Example 2 of Insertion Sheet of Folding Size Format>

Next, a case in which the insertion page M is different from that in useexample 1 described above will be explained as another example when theimage processing apparatus 120 performs bookbinding processing using aninsertion sheet of the folding size format (J=0) based on the print job400 (FIG. 4A). More specifically, a case in which the insertion page M=0(first page) or L (final page) will be described. In this case, layoutprocessing differs from that in use example 1, and the image processingapparatus 120 performs layout processing not in step S513 but in stepS514 without performing division bookbinding.

This use example assumes that not M=4 but M=0 (first page) or M=12(final page) is set as the attribute value of the insertion page Mincluded in the print job 400 (FIG. 4A) received by the image processingapparatus 120. The image processing apparatus 120 performs renderingprocessing for PDL data included in the print job 400, generatingdrawing data of 12 pages corresponding to the originals of the first to12th pages represented by 610 of FIG. 6, similar to the above-mentioneduse example 1 (step S503).

Then, the image processing apparatus 120 performs layout processing forthe drawing data generated by the rendering processing (step S504). Inthis use example, the insertion format J=0 (folding size format), andthe insertion page M=0 or 12 in the job setting data saved in thestorage 124. Thus, the image processing apparatus 120 advances theprocess to step S514. In step S514, the image processing apparatus 120performs layout processing for drawing data (610 in FIG. 6) of the 12pages (first to 12th (=L′) pages) of the body without dividing them(unlike step S513).

After that, the image processing apparatus 120 performs layoutprocessing using image data of a blank sheet of the folding size asimage data of the insertion page M (step S518). At this time, image datacorresponding to the insertion sheet is laid out on the first page forM=0, or the final page for M=12. As a result, image data havingundergone the layout processing are generated.

In FIG. 8, 800 exemplifies a bookbinding product obtained as a result ofperforming bookbinding processing using an insertion sheet of thefolding size format when the insertion page M=0 (first page). In thiscase, the image processing apparatus 120 generates a bookbinding productincluding an insertion sheet 801 (of colored paper) arranged on thefirst page, and a bookbinding product 802 formed from printed materials(of plain paper) corresponding to the originals of the first to 12thpages of the body subsequent to the insertion sheet 801. To thecontrary, in FIG. 8, 810 exemplifies a bookbinding product obtained as aresult of performing bookbinding processing using an insertion sheet ofthe folding size format when the insertion page M=12 (final page). Inthis case, the image processing apparatus 120 generates a bookbindingproduct including a bookbinding product 811 formed from printedmaterials (of plain paper) corresponding to the originals of the firstto 12th pages of the body, and an insertion sheet 812 (of colored paper)arranged on the final page subsequent to the bookbinding product 811.The image processing apparatus 120 outputs the bookbinding product 811and insertion sheet 812 sequentially to overlap each other, generating afinal bookbinding product. In this way, even when the first or finalpage is designated as the insertion position of an insertion sheet, theimage processing apparatus 120 can generate a bookbinding product inwhich the insertion sheet is inserted at the designated position.

<Use Example 1 of Insertion Sheet of Double-Page Size Format>

As an example when the image processing apparatus 120 executes theprocesses according to the flowcharts of FIGS. 5A and 5B, an example inwhich the image processing apparatus 120 performs bookbinding processingusing an insertion sheet of the double-page size (J=1) based on theprint job 410 will be explained. FIG. 9A shows print setting data 911 to917 and image data 921 to 927 corresponding to the print job 410 (FIG.4B). FIG. 9B exemplifies a bookbinding product obtained as a result ofperforming print processing for the image data 921 to 927 in accordancewith the print setting data 911 to 917 shown in FIG. 9A.

The image processing apparatus 120 receives the print job 410 from theinformation processing apparatus 100 (step S501), interprets attributevalues included in the job attribute portion 411, and saves them as jobsetting data in the storage 124 (step S502). The job setting dataincludes the printing method=folding bookbinding, the insertion formatJ=1 (double-page size format), and the original size=A3. Also, the jobsetting data includes settings such as the original page count L=12, theinsertion page M=8, the printing/non-printing N on an insertion sheet=1,the paper settings of an insertion sheet=manual feed/coated paper, andthe paper settings of the body=A3/cassette 1/plain paper 1. Since theoriginal page count L=12, L need not be adjusted to a multiple of K=4,and the original page count L′ for layout=12 (=L).

The image processing apparatus 120 interprets PDL data included in theprint job 410, and performs rendering processing, generating drawingdata (step S503). In the embodiment, similar to the print job 400, theprint job 410 includes PDL data which has not undergone layoutprocessing and corresponds to the original of each page of the body. Asfor the insertion sheet, it is set to print on one surface (obversesurface). For this purpose, the print job 410 further includes, betweenPDL data of the eighth page of the body and that of the ninth page, PDLdata which corresponds to the insertion sheet to print an image on theprinting surface of the insertion sheet of the double-page size.

When the image processing apparatus 120 executes rendering processingfor this PDL data, drawing data of 13 pages represented by 620 in FIG. 6are generated. More specifically, drawing data of 13 pages aregenerated, including drawing data 621 and 623 of 12 pages correspondingto the originals of the first to 12th pages, and drawing data 622 of onepage of the double-page size corresponding to the insertion sheet.Drawing data corresponding to the insertion sheet is interposed betweendrawing data corresponding to the original of the eighth page and thatcorresponding to the original of the ninth page.

Then, the image processing apparatus 120 performs layout processing forthe drawing data generated by the rendering processing (step S504). Inthe job setting data saved in the storage 124, the insertion format J=1(double-page size format), and the insertion page M=8. Thus, the imageprocessing apparatus 120 advances the process to step S516. In stepS516, the image processing apparatus 120 performs layout processing bydivision bookbinding using drawing data of the body of the 12 pages outof drawing data of the 13 pages.

Since M=8 and L′=12, the boundary page D=2M % L′=4. That is, in stepS516, the image processing apparatus 120 divides the drawing data 621and 623 of the first to 12th pages of the body into drawing data of thefirst to fourth pages and drawing data of the fifth to 12th (=L′) pages,and performs layout processing (based on division bookbinding) for therespective drawing data groups after the division. As for the insertionsheet, it is set to print (N=1). Thus, the image processing apparatus120 performs layout processing using, as image data of the insertionsheet, image data based on the drawing data 622 of the insertion sheetof the double-page size that is arranged after the drawing data of theeighth page of the body (step S518).

In FIG. 9A, 920 conceptually represents all the image data 921 to 927which have been generated by the layout processing and saved in thestorage 124. FIG. 9A shows a state in which the image data 921 to 927are saved in the storage 124 while they are laid out in the printingorder, as indicated by an arrow. The image processing apparatus 120performs division bookbinding based on the image data 921 and 922, andthe image data 923 to 927, respectively, generating individualbookbinding products (first and second bookbinding products). Image dataof the insertion sheet of the double-page size is laid out as the imagedata 927 after the image data 926 including data corresponding to theoriginals of the eighth and ninth pages of the body. When printedmaterials based on the image data 923 to 927 are bundled and folded, theinsertion sheet is inserted as facing pages into the generatedbookbinding product.

In FIG. 9A, 910 represents the print setting data 911 to 917corresponding to the image data 921 to 927, respectively. As representedby 910 in FIG. 9A, the image processing apparatus 120 generates theprint setting data 911 to 917 to make settings included in the jobsetting data correspond in the printing order to the respective imagedata 921 to 927 generated by the layout processing (step S505).

Print setting data for generating the first bookbinding product will beexplained. “Double-sided/reverse surface” and “double-sided/obversesurface” are set as the “printing method” respectively in the printsetting data 911 and 912 corresponding to the image data 921 and 922 ofthe first bookbinding product. The paper settings (A3/cassette 1/plainpaper) of the body in the job setting data are set as the “paper size”,“paper feed tray information”, and “paper type” in the print settingdata 911 and 912. Further, the “start flag” and “end flag” are set asthe “folding setting” in the print setting data 911 and 912,respectively.

In step S506, in accordance with these settings, the image processingapparatus 120 performs double-sided printing based on the image data 921and 922 of the body on one A3-size plain sheet, generating a (single)printed material forming the first bookbinding product. Further, theimage processing apparatus 120 executes folding processing (saddlestitching) for the single printed material as a bundle in accordancewith the “folding setting”, generating the first bookbinding product.

Print setting data for generating the second bookbinding product will beexplained. In the print setting data 913 to 916 corresponding to theimage data 923 to 926 of the body out of the image data 923 to 927 ofthe second bookbinding product, “double-sided/reverse surface” and“double-sided/obverse surface” are set as the “printing method”alternately in the printing order. In contrast, “double-sided/obversesurface” is set as the “printing method” in the print setting data 917corresponding to the image data 927 of the insertion sheet. In addition,the paper settings (A3/cassette 1/plain paper) of the body in the jobsetting data are set as the “paper size”, “paper feed tray information”,and “paper type” in the print setting data 913 to 916 corresponding tothe body. The paper settings (A3/manual feed/coated paper) of theinsertion sheet in the job setting data are set in the print settingdata 917 corresponding to the insertion sheet. As the “folding setting”,the “start flag” is set in the print setting data 913, the “end flag” isset in the print setting data 917, and the “continuation flag” is set inthe print setting data 914 to 916.

In step S506, the image processing apparatus 120 executes double-sidedprinting based on the image data 923 to 926 of the body on two A3-sizeplain sheets in accordance with these settings, generating (two) printedmaterials forming the second bookbinding product. Also, the imageprocessing apparatus 120 performs single-sided printing based on theimage data 927 of the insertion sheet on one A3-size coated sheet,generating a (single) printed material forming the second bookbindingproduct. The single printed material serves as an insertion sheet to thesecond bookbinding product. Then, the image processing apparatus 120bundles the two printed materials corresponding to the body and thesingle printed material corresponding to the insertion sheet, andexecutes folding processing for these printed materials in accordancewith the “folding setting”.

As a result of performing print processing for the image data 921 to 927in accordance with the print setting data 911 to 917 shown in FIG. 9A,as described above, the image processing apparatus 120 generates abookbinding product shown in FIG. 9B. The bookbinding product shown inFIG. 9B includes a first bookbinding product 931 formed from printedmaterials corresponding to the originals of the first to fourth pages,and a second bookbinding product 932 formed from printed materialscorresponding to the originals of the fifth to 12th pages and a printedmaterial 933 corresponding to the insertion sheet. The image processingapparatus 120 outputs the first bookbinding product 931 and the secondbookbinding product 932 including the insertion sheet 933 sequentiallyto overlap each other, generating a final bookbinding product. In thisfashion, the image processing apparatus 120 can generate a bookbindingproduct in which the insertion sheet is inserted between the eighth andninth pages of the body. That is, the image processing apparatus 120 cangenerate a bookbinding product in which the insertion sheet is insertedat the designated position.

<Use Example 2 of Insertion Sheet of Double-Page Size Format>

Next, a case in which the insertion page M is different from that in useexample 1 described above will be explained as another example when theimage processing apparatus 120 performs bookbinding processing using aninsertion sheet of the double-page size format (J=1) based on the printjob 410 (FIG. 4B). More specifically, a case in which the insertion pageM=0 (first page), L′/2 (center page), L (final page) will be described.In this case, layout processing differs from that in use example 1, andthe image processing apparatus 120 performs layout processing in stepS517 without performing division bookbinding for drawing data of thebody. When the insertion format J=1 (double-page size format), unlikethe insertion format J=0 (folding size format), layout processing isperformed for image data of the body not only for the insertion page M=0or L, but also for the insertion page M=L′/2 (center page) withoutperforming division bookbinding.

This use example assumes that not M=8 but M=0 (first page), M=6 (=L′/2(center page)), or M=12 (final page) is set as the attribute value ofthe insertion page included in the print job 410 (FIG. 4B) received bythe image processing apparatus 120. The image processing apparatus 120performs rendering processing for PDL data included in the print job410, generating drawing data and image data, as represented by 620 inFIG. 6. More specifically, the drawing data 621 and 623 of 12 pagescorresponding to the originals of the first to 12th pages, and thedrawing data 622 corresponding to the insertion sheet are generated(step S503). Note that the drawing data 622 is arranged at a positioncorresponding to the insertion page M.

Then, the image processing apparatus 120 performs layout processing forthe drawing data generated by the rendering processing (step S504). Inthis use example, the insertion format J=1 (double-page size format),and the insertion page M=0, 6, or 12 in the job setting data saved inthe storage 124. Thus, the image processing apparatus 120 advances theprocess to step S517. In step S517, the image processing apparatus 120performs layout processing without dividing the drawing data 621 and 623of the body of the 12 pages corresponding to the first to 12th (=L′)pages of the body (unlike step S516).

In step S518, the image processing apparatus 120 performs layoutprocessing using, as image data of the insertion page M, the drawingdata 622 corresponding to the insertion sheet of the double-page size.At this time, image data corresponding to the insertion sheet is laidout on the first page for M=0, the center page for M=6, or the finalpage for M=12. As a result, image data having undergone the layoutprocessing are generated.

In FIGS. 10, 1000, 1010, and 1020 exemplify bookbinding productsobtained as a result of performing bookbinding processing using aninsertion sheet of the double-page size format when the insertion pageM=6 (center page), M=0 (first page), and M=12 (final page). As shown inFIG. 10, for M=6, 0, and 12, the image processing apparatus 120generates bookbinding products 1001, 1011, and 1021 each formed fromprinted materials (of plain paper) corresponding to the originals of thefirst to 12th pages of the body. Further, the image processing apparatus120 generates bookbinding products in which insertion sheets 1002, 1012,and 1022 (of coated paper of the double-page size) having undergonefolding processing are inserted at positions each corresponding to theinsertion page M into the respective bookbinding products.

As shown in FIG. 10, for M=6 (1000), the insertion sheet 1002 havingundergone folding processing is inserted as the center page into thebookbinding product 1001. For M=0 (1010), the insertion sheet 1012having undergone folding processing is inserted as the first page intothe bookbinding product 1011. For M=12 (1020), the insertion sheet 1022having undergone folding processing is inserted as the final page intothe bookbinding product 1021. Note that for M=6 (center page), printedmaterials corresponding to the body of the original, and an insertionsheet integrally undergo folding processing in print processing (stepS506) based on image data having undergone layout processing, therebygenerating a final bookbinding product.

As described above, according to the first embodiment, regardless ofwhich of the folding size and double-page size is designated for aninsertion sheet, the insertion sheet can be appropriately inserted intoa bookbinding product to be finally generated. More specifically, whenan insertion sheet of the folding size format is used, insertion of theinsertion sheet into an arbitrary portion in a bookbinding product,implementation of which has been difficult, can be implemented based ondivision bookbinding. When an insertion sheet of the double-page sizeformat is used, insertion of the insertion sheet into an arbitraryportion in a bookbinding product to be generated to enable spread of theinsertion sheet can be implemented based on division bookbinding.

Second Embodiment

The second embodiment according to the present invention will bedescribed. The first embodiment has described a case in which the imageprocessing apparatus executes layout processing for image data to beactually printed, based on a print job created by the printer driver inthe information processing apparatus in the printing system includingthe information processing apparatus and image processing apparatus. Thesecond embodiment will explain a case in which before transmitting aprint job from the information processing apparatus to the imageprocessing apparatus, the printer driver in the information processingapparatus performs layout processing for image data for bookbindingprinting. For simplicity, a description of a part common to the firstembodiment will not be repeated.

In the second embodiment, an information processing apparatus 100corresponds to an image processing apparatus which generates image datafor bookbinding printing of printing images corresponding to originaldata on a plurality of sheets of the double-page size (first size),bundling the printed sheets, and folding them in the middle to generatea bookbinding product. In the second embodiment, a printer driver in theinformation processing apparatus 100 executes, for example, theprocesses in steps S501 to S504 to generate a plurality of image datahaving undergone layout processing. Further, the printer drivertransmits the generated image data to an image processing apparatus 120.The image processing apparatus 120 generates print setting datacorresponding to each received image data in step S505, and executesprint processing for the image data based on the print setting data instep S506.

Although the above description assumes that the printer driver in theinformation processing apparatus 100 performs rendering processing fordrawing data to generate image data, the image processing apparatus 120may perform the rendering processing. In this case, the printer driverin the information processing apparatus 100 suffices to generate, instep S504 for original data corresponding to the originals of respectivepages before rendering processing, PDL data representing how to performlayout processing for a plurality of image data in the printing order.Also, the printer driver suffices to set the generated PDL data in aprint job and transmit them to the image processing apparatus 120. Theimage processing apparatus 120 suffices to perform rendering processingfor PDL data of respective pages based on the PDL data included in thereceived print job.

The second embodiment can obtain the same effects as those of the firstembodiment even when the information processing apparatus 100 executeslayout processing for bookbinding printing in the image processingapparatus 120 in advance before transmitting a print job.

Other Embodiment

Aspects of the present invention can also be realized by a computer of asystem or apparatus (or devices such as a CPU or MPU) that reads out andexecutes a program recorded on a memory device to perform the functionsof the above-described embodiment(s), and by a method, the steps ofwhich are performed by a computer of a system or apparatus by, forexample, reading out and executing a program recorded on a memory deviceto perform the functions of the above-described embodiment(s). For thispurpose, the program is provided to the computer for example via anetwork or from a recording medium of various types serving as thememory device (for example, computer-readable medium).

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2011-262652, filed Nov. 30, 2011, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. A printing control apparatus which controls toprint images on sheets based on image data of a plurality of pages,generate a bookbinding product by executing folding processing for theimage-printed sheets, and output the bookbinding product, comprising: anacceptance unit configured to accept a position of an insertion sheet tobe inserted into the sheets for which the folding processing isexecuted; and a control unit configured to output a plurality ofbookbinding products by using, as a reference, the position of theinsertion sheet that has been accepted by said acceptance unit.
 2. Theprinting control apparatus according to claim 1, further comprising adetermination unit configured to determine a size of the insertionsheet, wherein when said determination unit determines that the size ofthe insertion sheet is half a size of the sheet, said control unitcontrols to print images on sheets before outputting the insertion sheetby using, as the reference, the position of the insertion sheet that hasbeen accepted by said acceptance unit, execute folding processing forthe image-printed sheets, then output the sheets, output the insertionsheet, print images on sheets after outputting the insertion sheet,execute folding processing for the image-printed sheets, and then outputthe sheets.
 3. The printing control apparatus according to claim 1,further comprising a determination unit configured to determine a sizeof the insertion sheet, wherein when said determination unit determinesthat the size of the insertion sheet is equal to a size of the sheet,said control unit controls to output a plurality of bookbinding productsto be able to spread the insertion sheet in the bookbinding product byusing, as the reference, the position of the insertion sheet that hasbeen accepted by said acceptance unit.
 4. The printing control apparatusaccording to claim 1, further comprising a decision unit configured todecide a printing order of the image data of the plurality of pages inaccordance with the position of the insertion sheet that has beenaccepted by said acceptance unit.
 5. The printing control apparatusaccording to claim 1, wherein said acceptance unit accepts a page numberas the position of the insertion sheet.
 6. A method of controlling aprinting control apparatus which controls to print images on sheetsbased on image data of a plurality of pages, generate a bookbindingproduct by executing folding processing for the image-printed sheets,and output the bookbinding product, comprising: accepting a position ofan insertion sheet to be inserted into the sheets for which the foldingprocessing is executed; and controlling to output a plurality ofbookbinding products by using, as a reference, the position of theinsertion sheet that has been accepted in the accepting.
 7. Acomputer-readable storage medium storing a program for causing acomputer to execute a printing control apparatus control method definedin claim 6.